ProfilePress\Core\ContentProtection\SettingsPage S

Total Complexity 42
Dependencies 4
Dependents 4
Total lines 205
Lines of code 138
Logical lines of code 84
Comment lines 3
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
save_rule()
A
51 8 23
__construct()
S
57 6 16
sanitize_data()
S
57 5 18
admin_notices()
S
61 5 12
admin_page_title()
S
63 5 10
admin_settings_page_callback()
S
61 3 12
add_new_button()
S
67 3 6
get_instance()
S
69 2 7
register_cpf_settings_page()
S
63 1 10
default_header_menu()
S
82 1 3
set_screen()
S
81 1 3
add_options()
S
63 1 10
settings_page_function()
S
66 1 8